const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('../assets/svg', false, /\.svg$/)
requireAll(req)

console.log('req', requireAll(req))
